function Students(name, age) {

    this.name = name
    this.age = age

}

function Teacher() {
    this.realPosition = "teacher"

}

let proxyStu = new Proxy(Students, {
    construct(target, argumentsList, reducier) {
        return Reflect.construct(target, argumentsList, Teacher)
    },
})

let fakeStu = new proxyStu("kaki", 25)

console.log(fakeStu.name);
console.log(fakeStu);